<ul class="layui-nav layui-nav-tree layui-inline" lay-filter="user">
    <li class="layui-nav-item">
        <a href="{:U('home/ucenter/index')}">
            <i class="layui-icon">
                
            </i>
            我的主页
        </a>
    </li>
    <li class="layui-nav-item <?php if(CONTROLLER_NAME=='Ucenter' && ACTION_NAME=='center'){ echo 'layui-this'; }?>">
        <a href="{:U('home/ucenter/center')}">
            <i class="layui-icon">
                
            </i>
            用户中心
        </a>
    </li>
    <li class="layui-nav-item <?php if(CONTROLLER_NAME=='Ucenter' && ACTION_NAME=='setting'){ echo 'layui-this'; }?>">
        <a href="{:U('home/ucenter/setting')}">
            <i class="layui-icon">
                
            </i>
            基本设置
        </a>
    </li>
    <li class="layui-nav-item <?php if(CONTROLLER_NAME=='Ucenter' && ACTION_NAME=='msg'){ echo 'layui-this'; }?>">
        <a href="{:U('home/ucenter/msg')}">
            <i class="layui-icon">
                
            </i>
            我的消息
        </a>
    </li>
    <li class="layui-nav-item <?php if(CONTROLLER_NAME=='Ucenter' && ACTION_NAME=='auz'){ echo 'layui-this'; }?>">
        <a href="{:U('home/ucenter/auz')}">
            <i class="layui-icon">
                
            </i>
            产品授权
        </a>
    </li>
</ul>
<script>
    layui.use(['element'], function(){
        var element = layui.element(); //导航的hover效果、二级菜单等功能，需要依赖element模块
        // var layer = layui.layer;//实例化弹出层模块
    });
</script>
